This section describes the necessary system preparations for SDCF development, as well as the requirements for command-line builds with Ant or the development with Eclipse.
Java JDK 6 Installation
Android-SDK Installation
Platform Tools & Package Installation
System Path Updates for Ant Builds
pidof eclipse
/environ | grep ^PATH".Graphviz Installation for an Ant-Based Javadoc Creation (Optional)
To proper build the SDCF projects from command line, Ant 1.8 or higher must be installed.
Check-out the Projects from the SVN repositiory.
Setup the Projects for Ant Builds
Switch to each project directory (e.g. SDCFrameworkLib) and execute the related setup command:
Ant Usage Examples
Build and install a debug version of the the SDCFramework Application:
Build the Javadoc Dcumentation for the library:
Build and run the tests:
For further information about Ant builds of Android projects check the Android developer page.
The framework projects are configured and maintained for Eclipse Galileo, Eclipse Helios and Eclipse Indigo with an installed ADT Plugin Versions 21.0 or lower (Success on building and running the projects has also been reported with the ADT Bundle).
ADT Installation
Import the projects
If you use Java SDK 7 instead of 6, you may get the following error: ''Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead ...''.
To fix it do the following: